var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.npc_ChangeController(2210013, "oid=294951", 284, 95, 1, 234, 334, 1, false, 0, false);
            cm.curNodeEventEnd(true);
            cm.setInGameDirectionMode(true, true, false);
            cm.sendNormalTalk("挺厉害的嘛？击退了所有的黄蜂。", 1, 2210004, false, true);
            cm.curNodeEventEnd(true)
        } else {
            if (status === a++) {
                cm.inGameDirectionEvent_ForcedFlip15(700, 0, 0, 0, 0);
                cm.warp(240092000, 0, false);
                cm.setInGameDirectionMode(false, true, false);
                cm.forceStartQuest(31342, "");
                cm.forceStartQuest(31357, "on");
                cm.dispose()
            }
        }
    }
};